<include file="./Application/Admin/View/head.html" />

<script type="text/javascript" language="javascript" src="__PUBLIC__/admin/js/eye-base.js"></script>
<script type="text/javascript" language="javascript" src="__PUBLIC__/admin/js/eye-all.js"></script>
<body>
<form action="?">
    <p class="yonghusousuo">
        用户名：<input class="tet" name="user_name" type="text" placeholder="请输入用户名..." value="">&nbsp;&nbsp;
        订单号：<input class="tet" name="order_sn" type="text" placeholder="请输入订单号..." value="">&nbsp;&nbsp;
        添加时间：<input type="text" name="start_time" value="{$start_time}" style="width: 100px;padding-left: 10px;box-sizing: border-box;" onClick="eye.datePicker.show(this);" />
        结束时间：<input type="text" name="end_time" value="{$end_time}" style="width: 100px;padding-left: 10px;box-sizing: border-box;" onClick="eye.datePicker.show(this);" />
        <input type="submit" class="sub" value="搜 索">
    </p><br/>
</form>
<span class="head_span">
    <a href="__MODULE__/Order/index" class="tiaojia">查看课程订单</a>
    <a href="__MODULE__/Order/goods_list" class="tiaojia">查看商品订单</a>
    <a href="__MODULE__/Order/recharge" class="tiaojia">查看充值记录</a>
</span>
<style>
    .head_span{margin-left: -200px; width: 600px; display: block; text-align: center; margin: 10px auto 0 auto;overflow: hidden;}
    .head_span a {padding: 5px 30px;    }
</style>
总成交量：{$sum['sum(total_price)']}
<ul class="chakankc_top chakandingdan">
    <li>购买人</li>
    <li>订单号<span class="xiantiao"></span></li>
    <li>充值金额<span class="xiantiao"></span></li>
    <li>成交时间<span class="xiantiao"></span></li>
</ul>
<ul class="chakankc chakandingdan_in">
    <foreach name="list" item="v">
    <li class="chakankc_in">
        <span class="sp01">{$v['nickname']} | {$v['full_name']}</span>
        <span class="sp02">{$v['order_sn']}&nbsp;<span class="xiantiao"></span></span>
        <span class="sp04">{$v['total_price']|default='没'}<span class="xiantiao"></span></span>
        <span class="sp04">{$v['add_time']|date="Y-m-d H:i",###}<span class="xiantiao"></span></span>

    </li>
    </foreach>
</ul>
<div class="page">{$show}<b style="margin-left: 5px;">共{$count}条记录</b></div>
<style>
    .page{ width: 400px; float: right; margin-top: 20px;}
    .page span{display: block; background: #fff; width: 20px; float: left;margin-left:2px;text-align: center;}
    .page a{display: block; background: #5BC0DE; width: 40px; float: left; margin-left:2px; text-align: center; }
.chakankc .chakankc_in span{text-overflow: ellipsis; overflow: hidden; display: -webkit-box;  -webkit-line-clamp: 1;  -webkit-box-orient: vertical;}
.chakandingdan li{width:25%;}
.chakandingdan_in .chakankc_in span{width:25%;}
</style>
</body>
</html>